package com.cyy.defstep;

import com.cyy.contanst.GlobalVar;
import com.cyy.utils.Common;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.testng.annotations.BeforeClass;

import java.text.ParseException;

@Slf4j
public class HookDefstep extends AbstractDefstep {

    @Autowired
    Common common;

    @BeforeClass
    public void do_before_all() throws ParseException {
        GlobalVar.value.put("today", common.today());
        GlobalVar.value.put("uuid", common.uuid(""));
    }


}
